home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Point Programming 1
/
PPROG1.ISO
/
pascal
/
swag
/
cursor.swg
/
0007_Find The Cursor.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
263 b
|
17 lines
Uses
Dos;
Procedure FindXY(Var X, Y : Byte; Page : Byte);
{X = Row of Cursor}
{Y = Colum of Cursor}
{Page = Page Nummber}
Var
Regs : Registers;
begin
Regs.Ah := 3;
Regs.Bh := Page;
intr($10, Regs);
X := Regs.Dl;
Y := Regs.Dh;
end;